<!DOCTYPE html>
<html lang="en" xmlns:th="http//www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
<!--        <link rel="stylesheet" href="../static/css/bootstrap.min.css">-->
<!--        <link rel="stylesheet" href="../static/css/main.css">-->
<!--        <link rel="stylesheet" href="../static/css/green.css">-->
<!--        <link rel="stylesheet" href="../static/css/font-awesome.min.css">-->
<!--        <link rel="stylesheet" href="../static/css/login.css">-->
        <link rel="stylesheet" href="css/bootstrap.min.css">
        <link rel="stylesheet" href="css/main.css">
        <link rel="stylesheet" href="css/green.css">
        <link rel="stylesheet" href="css/font-awesome.min.css">
        <link rel="stylesheet" href="css/login.css">

</head>
<body>
    <div id="div1">暨南书城</div>

    <form action="/login" method="post">
        <div id="div3" class="col-sm-4">
            <h3 class="panel-subtitle">密码登录</h3>
            <!--            显示错误信息-->
            <div id="error_msg" style="color: red" th:if="${session.login_error} != null" th:text="${session.login_error}"></div>
            <div class="input-group margin-bottom-sm">
            <span class="input-group-addon input-group-addon-book">
                <i class="fa fa-user fa-fw"></i>
            </span>
                <input class="form-control form-control-book" type="text" name="username" placeholder="请输入用户名">
            </div>

            <div class="input-group margin-bottom-sm">
            <span class="input-group-addon input-group-addon-book">
                <i class="fa fa-key fa-fw"></i>
            </span>
                <input class="form-control form-control-book" type="password" name="password" placeholder="******">
            </div>


            <div class="checkout-checkbox-option">
                <input type="checkbox" class="book-radio" name="optionsRadios"  id="optionsRadios" value="option2" checked>
                <label class="book-radio-label" for="optionsRadios">
                    <span class="radio-background"><i class="icon fa fa-circle"></i></span>记住我
                </label>
            </div>

        </div>
        <div id="div2">
            <input type="submit" class="pull-right btn btn-primary btn-checkout" value="登录">
        </div>
        <div id="div4">
            <a href="/register" class="pull-right btn btn-primary btn-checkout">
                注册
            </a>
        </div>
    </form>

</body>
</html>